#pragma once
#ifndef _Include_ChessKnight_h_
#define _Include_ChessKnight_h_

#include "ChessPiece.h"

class ChessKnight : public ChessPiece
{
public:
    ChessKnight() {}
    ChessKnight(int row_index, int col_index) :
        ChessPiece(row_index, col_index) {}
    virtual ~ChessKnight() {};

public:
    virtual HRESULT DrawCanMove(const HWND& hwnd);
    virtual HRESULT MoveCheck(const CHESS_POS& m_select_pos);

protected:
    HRESULT CheckPos(const CHESS_POS& pos);
};
typedef std::unique_ptr<ChessKnight> LPChessKnight;

#endif//_Include_ChessKnight_h_